package edu.sctu.practice.class01.nieyu.test.test13;

import java.awt.*;

/**
 * Created by Administrator on 2015/10/22.
 */
public class Circle extends Graph {

    int radius;

    public Circle(Point center, int radius) {

        super(center);
        this.radius = radius;

    }

    public void getInfo() {

        System.out.println("圆形：" + "\n" + "校准点：" + center + "\n" + "半径：" + radius);

    }
}
